import React, { memo } from "react";

import Styles from "./index.module.less";

function User(props) {
  const handleClick = () => {
    props.history.push("/dashboard");
  };
  return (
    <div>
      User<button onClick={handleClick}>+</button>
    </div>
  );
}

export default User;
